#include "widget.h"
#include "ui_widget.h"
#include<QStringList>
#include<QDebug>
#include<QSpinBox>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->comboBox->addItems(QStringList("麦辣鸡腿堡"));
       ui->comboBox->addItems(QStringList("香辣鸡柳堡"));
       ui->comboBox_2->addItems(QStringList("中薯条"));
        ui->comboBox_2->addItems(QStringList("麦辣鸡块"));
         ui->comboBox_2->addItems(QStringList("麦乐鸡翅"));
         ui->comboBox_3->addItems(QStringList("雪碧"));
        ui->comboBox_3->addItems(QStringList("可乐"));
    }

Widget::~Widget()
{
    delete ui;
}



void Widget::on_pushButton_clicked()
{
    qDebug()<<ui->comboBox->currentText()
           <<ui->comboBox_2->currentText()
          <<ui->comboBox_3->currentText();

    int number1=ui->
}
